Give\PaymentGateways\PayPalCommerce\AjaxRequestHandler S

Total Complexity 30
Dependencies 10
Dependents 2
Total lines 312
Lines of code 160
Logical lines of code 68
Comment lines 95
Methods 10
Properties 6

Methods 10

Method Rating Maintainability Complexity Lines of code
getDonorAddressFromPostedDataForPaypalOrder()
S
60 8 12
createOrder()
S
46 3 41
onGetPartnerUrlAjaxRequestHandler()
S
58 4 16
onBoardedUserAjaxRequestHandler()
S
58 3 15
onBoardingTroubleNotice()
S
53 2 27
approveOrder()
S
57 2 18
validateFrontendRequest()
S
69 3 6
removePayPalAccount()
S
62 2 12
validateAdminRequest()
S
74 2 5
__construct()
S
67 1 8